package com.goktech.olala.core.service;

import com.goktech.olala.core.resp.RespBrandVo;
import com.goktech.olala.core.resp.RespCategoryVo;
import com.goktech.olala.core.resp.RespGoodsVo;
import com.goktech.olala.server.pojo.goods.Brand;
import com.goktech.olala.server.pojo.goods.Category;

import java.util.List;

/**
 * @Classname IGoodCategory
 * @Description TODO
 * @Date 2020/12/1 20:25
 * @Created by ASUS
 */
public interface IGoodCategory {

    int deleteByPrimaryKey(Integer categoryId);

    int insert(Category record);

    Category selectByPrimaryKey(Integer categoryId);

    List<Category> selectAll();

    int updateByPrimaryKey(Category record);

    List<RespCategoryVo> selectByCategory();


    List<RespBrandVo> selectBrand();

    //查询商品详情页
    RespGoodsVo queryGoodsById(String goodsId);

}
